package crm.system.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * SysUser entity. @author MyEclipse Persistence Tools
 */

public class SysUser implements java.io.Serializable {

	// Fields

	private BigDecimal usrId;
	private SysRole sysRole;
	private String usrName;
	private String usrPassword;
	private BigDecimal usrFlag;
	private Timestamp usrRegtime;
	private BigDecimal usrSex;

	// Constructors

	/** default constructor */
	public SysUser() {
	}

	/** full constructor */
	public SysUser(SysRole sysRole, String usrName, String usrPassword,
			BigDecimal usrFlag, Timestamp usrRegtime, BigDecimal usrSex) {
		this.sysRole = sysRole;
		this.usrName = usrName;
		this.usrPassword = usrPassword;
		this.usrFlag = usrFlag;
		this.usrRegtime = usrRegtime;
		this.usrSex = usrSex;
	}

	// Property accessors

	public BigDecimal getUsrId() {
		return this.usrId;
	}

	public void setUsrId(BigDecimal usrId) {
		this.usrId = usrId;
	}

	public SysRole getSysRole() {
		return this.sysRole;
	}

	public void setSysRole(SysRole sysRole) {
		this.sysRole = sysRole;
	}

	public String getUsrName() {
		return this.usrName;
	}

	public void setUsrName(String usrName) {
		this.usrName = usrName;
	}

	public String getUsrPassword() {
		return this.usrPassword;
	}

	public void setUsrPassword(String usrPassword) {
		this.usrPassword = usrPassword;
	}

	public BigDecimal getUsrFlag() {
		return this.usrFlag;
	}

	public void setUsrFlag(BigDecimal usrFlag) {
		this.usrFlag = usrFlag;
	}

	public Timestamp getUsrRegtime() {
		return this.usrRegtime;
	}

	public void setUsrRegtime(Timestamp usrRegtime) {
		this.usrRegtime = usrRegtime;
	}

	public BigDecimal getUsrSex() {
		return this.usrSex;
	}

	public void setUsrSex(BigDecimal usrSex) {
		this.usrSex = usrSex;
	}

}